RTCASREngineEventHandler class Null safety

语音识别服务使用状态回调

Constructors

RTCASREngineEventHandler({EmptyCallbackType? onSuccess, OnMessageType? onMessage, OnErrorMsgType? onErrorMsg})

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
onErrorMsg ↔ OnErrorMsgType?
语音识别服务内部发生错误事件。
read / write
onMessage ↔ OnMessageType?
语音转文字成功,该回调返回识别后的全量消息。 [...]
read / write
onSuccess ↔ EmptyCallbackType?
语音识别服务开启成功。
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited